package poker

func GetColor(card int) int { //获取颜色
	if card < 0 || card > 51 {
		return -1
	}
	return card / 13
}
func GetValue(card int) int { //获取扑克值
	return card%13 + 1
}
